import Layout from '@/layouts/index.vue';
import DashboardIcon from '@/assets/assets-slide-dashboard.svg';

export default [
  {
    path: '/vue-basic',
    component: Layout,
    redirect: '/vue-basic/defineComponent',
    name: 'vue-basic',
    meta: { title: 'vue-basic', icon: DashboardIcon },
    children: [
      {
        path: 'defineComponent',
        name: 'defineComponent',
        component: () => import('@/pages/basic-vue/defineComponent.vue'),
        meta: { title: 'defineComponent' },
      },
      {
        path: '3.5+',
        name: '3.5+',
        component: () => import('@/pages/basic-vue/vue3.5.vue'),
        meta: { title: '3.5+' },
      },
    ],
  },
];
